package com.xbongbong.pro.detailtab.dto;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
public class OrderOnPinDTO extends BaseDTO{

    private static final long serialVersionUID = 1811757585932903795L;
    /**
     * 产品id
     */
    @NotNull(message = "{dto.msg.OrderOnPinDTO.dataId.NotNull}")
    private Long productId;

    /**
     * 合同id
     */
    private Long contractId;
    /**
     * 页数
     */
    private Integer page;
    /**
     * 页面大小
     */
    private Integer pageSize;
    /**
     * 时间
     */
    private JSONArray addTime;

}
